package com.accesshollywood.grfxOrdering.core;

public class CoreStillSet {
	private String	path	= "";
	private int		idStill	= -1;

	public synchronized String getPath() {
		return path;
	}

	public synchronized void setPath(String path) {
		this.path = path;
	}

	public synchronized int getIdStill() {
		return idStill;
	}

	public synchronized void setIdStill(int idStill) {
		this.idStill = idStill;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + idStill;
		result = prime * result + ((path == null) ? 0 : path.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CoreStillSet other = (CoreStillSet) obj;
		if (idStill != other.idStill)
			return false;
		if (path == null) {
			if (other.path != null)
				return false;
		} else if (!path.equals(other.path))
			return false;
		return true;
	}
}
